package com.spj.dao;

import com.spj.pojo.Order;
import com.spj.pojo.OrderItem;

import java.util.ArrayList;


public interface OrderDao {
	void buildItemOrder(OrderItem orderItem);

	void buildOrder(Order order);

	ArrayList<Order> getAllOrders(int id);

	void completePay(String uuid);

	ArrayList<OrderItem> getAllOrdersItems(int id);

	Order getOrderByid(int id);

	void deleOrder(int id);
}
